home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
bavarian
/
041-050
/
050_icons
/
xicon
/
icon_stuff
/
readme
Wrap
Text File
|
1993-11-04
|
3KB
|
73 lines
The three utilities in this directory allow various manipulations on icons.
ZapIcon and SetAlternate are public domain programs imported from other
sources, and I don't have much information on them. IconType is a quickie
that I wrote, and short instructions are included here.
ZapIcon turns an IFF "Brush" file (from DPaint or elsewhere) into an icon.
Just use the command:
zapicon brushname iconname
(use the root of the icon name only -- i.e. omit the '.info' suffix.)
It will ALWAYS create a TOOL icon. If you want to use it with xicon,
you must change its type to PROJECT by using IconType on it.
SetAlternate concatenates a second icon image to a single-image initial
icon, so that the second will appear when it is selected.The format is:
setalternate icon icon2
The first icon is modified.
+++++++++++++++++++
IconType
________
(No, Virginia - it doesn't type out an icon...)
This is a (very) quick hack to allow you to change the type of an icon
that you've created with ZapIcon (or otherwise). BE CAREFUL! Don't
go around changing icons arbitrarily. You should probably use IconType
as the last step after you have created your icon to match your file.
Command format:
IconType <c> <name>
where: <name> is the name of the icon WITHOUT '.info' appended, and
<c> is a single character indicating the type of icon you want,
selected from the following set:
t Tool
p Project
r dRaweR (sorry, but it couldn't conflict with..)
d Disk
g Garbage (i.e. Trash Can)
As an example, suppose you want a fancy icon to use for an Xicon script
(named "marvelscript"... why be modest.). You generate a nice brush with
DPaint, and create "marvelscript.info" from it using ZapIcon. Unfortunately
ZapIcon always creates a Tool icon, but Xicon requires a Project type,
so you just enter:
IconType p marvelscript
and you have a useable icon/file pair.
Notes & warnings: A DISK type icon is not visible on the workbench screen
unless it is named 'disk.info' and is in the root directory. DON'T try to
use an icon which is the wrong type for its associated item, unless you are
willing to accept unexpected consequences. (And there may be a lot of these!)
Experiment at your own risk.
(By the way, if you use Info from the WorkBench menu to check the icon type,
note that any change you make with IconType will NOT show up until you
CLOSE and reopen the drawer containing the icon.)
Pete Goodeve
1987 March 30
%%%%%%%%%%%%%%%%%%%